Class: GOBL::Org::Party

Inherits:
GOBL::Object show all
Defined in:
lib/generated/gobl/org/party.rb

Overview

Party represents a person or business entity.

Constant Summary collapse

SCHEMA_ID =

The Schema ID of the GOBL Party structure

'https://gobl.org/draft-0/org/party'

Instance Attribute Summary collapse

Method Summary

Methods inherited from GOBL::Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#$regime($regime) ⇒ GOBL::L10n::TaxCountryCode (readonly)



17
# File 'lib/generated/gobl/org/party.rb', line 17

property :$regime, GOBL::L10n::TaxCountryCode

#addressesArray<GOBL::Org::Address> (readonly)

Regular post addresses for where information should be sent if needed.



62
# File 'lib/generated/gobl/org/party.rb', line 62

property :addresses, [GOBL::Org::Address]

#aliasString (readonly)

Alternate short name.



37
# File 'lib/generated/gobl/org/party.rb', line 37

property :alias, String

#emailsArray<GOBL::Org::Email> (readonly)

Electronic mail addresses



67
# File 'lib/generated/gobl/org/party.rb', line 67

property :emails, [GOBL::Org::Email]

#extGOBL::Tax::Extensions (readonly)

Extension code map for any additional regime specific codes that may be required.



92
# File 'lib/generated/gobl/org/party.rb', line 92

property :ext, GOBL::Tax::Extensions

#identitiesArray<GOBL::Org::Identity> (readonly)

Set of codes used to identify the party in other systems.



47
# File 'lib/generated/gobl/org/party.rb', line 47

property :identities, [GOBL::Org::Identity]

#inboxesArray<GOBL::Org::Inbox> (readonly)

Digital inboxes used for forwarding electronic versions of documents



57
# File 'lib/generated/gobl/org/party.rb', line 57

property :inboxes, [GOBL::Org::Inbox]

#labelString (readonly)

Label can be used to provide a custom label for the party in a given context in a single language, for example “Supplier”, “Host”, or similar.



27
# File 'lib/generated/gobl/org/party.rb', line 27

property :label, String

#logosArray<GOBL::Org::Image> (readonly)

Images that can be used to identify the party visually.



87
# File 'lib/generated/gobl/org/party.rb', line 87

property :logos, [GOBL::Org::Image]

#metaGOBL::CBC::Meta (readonly)

Any additional semi-structured information that does not fit into the rest of the party.



97
# File 'lib/generated/gobl/org/party.rb', line 97

property :meta, GOBL::CBC::Meta

#nameString (readonly)

Legal name or representation of the organization.



32
# File 'lib/generated/gobl/org/party.rb', line 32

property :name, String

#peopleArray<GOBL::Org::Person> (readonly)

Details of physical people who represent the party.



52
# File 'lib/generated/gobl/org/party.rb', line 52

property :people, [GOBL::Org::Person]

#registrationGOBL::Org::Registration (readonly)

Additional registration details about the company that may need to be included in a document.



82
# File 'lib/generated/gobl/org/party.rb', line 82

property :registration, GOBL::Org::Registration

#tax_idGOBL::Tax::Identity (readonly)

The entity’s legal ID code used for tax purposes. They may have other numbers, but we’re only interested in those valid for tax purposes.



42
# File 'lib/generated/gobl/org/party.rb', line 42

property :tax_id, GOBL::Tax::Identity

#telephonesArray<GOBL::Org::Telephone> (readonly)

Regular telephone numbers



77
# File 'lib/generated/gobl/org/party.rb', line 77

property :telephones, [GOBL::Org::Telephone]

#uuidString (readonly)

Universally Unique Identifier.



22
# File 'lib/generated/gobl/org/party.rb', line 22

property :uuid, String

#websitesArray<GOBL::Org::Website> (readonly)

Public websites that provide further information about the party.



72
# File 'lib/generated/gobl/org/party.rb', line 72

property :websites, [GOBL::Org::Website]